package com.example.activity;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ActivityConfig {

    @Bean
    public ActivityFactory eventActivityFactory() {
        return new EventActivityFactory();
    }

    @Bean
    public ActivityTemplate eventActivityTemplate(ActivityFactory activityFactory) {
        return new EventActivityTemplate(activityFactory);
    }

}